package com.example.demo.model.admin.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.Results.ResultClass;
import com.example.demo.model.admin.admin.entity.ShopAdmin;
import com.example.demo.model.admin.admin.entity.eid.UpdatePasswd;
import com.example.demo.model.admin.admin.entity.reg.LoginReq;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

public interface ShopAdminService extends IService<ShopAdmin> {

    ResultClass doLogin(HttpServletRequest request, LoginReq loginReq);

    ResultClass doReg(HttpServletRequest request, LoginReq loginReq);

    ResultClass editPasswd(HttpServletRequest request, UpdatePasswd updatePasswd);

    ModelAndView editPass();
}
